
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>表单处理</title>
</head>
<body>
    <%
        String username = request.getParameter("username");
        String password = request.getParameter("password");
        String[] infoFroms = request.getParameterValues("infoFrom");
    %>
<p>你输入的注册信息</p>
<p>用户名：<%= username%></p>
<p>密码：<%= password%></p>
<p>信息来源：
<%
    for (String info:infoFroms) {
        out.print(info+" ");
    }
%>
</p>
</body>
</html>
